﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XW.Core;

namespace XW.Data
{
    /// <summary>
    /// 系统设置表
    /// </summary>
    [SugarTable(null, TableDescription = "系统设置表")]
    public class SysConfig : EntityBase
    {
        /// <summary>
        /// 标题
        /// </summary>
        [SugarColumn(ColumnDescription = "标题", Length = 50, IsNullable = true)]
        public virtual string Title { get; set; }

        /// <summary>
        /// 配置关键字
        /// </summary>
        [SugarColumn(ColumnDescription = "配置关键字", Length = 20, IsNullable = true)]
        public virtual string ConfigKey { get; set; }

        /// <summary>
        /// 配置值
        /// </summary>
        [SugarColumn(ColumnDescription = "配置值", Length = 200, IsNullable = true)]
        public virtual string ConfigValue { get; set; }

        /// <summary>
        /// 配置类型
        /// </summary>
        [SugarColumn(ColumnDescription = "配置类型", Length = 20, IsNullable = true)]
        public virtual string ConfigType { get; set; }

        /// <summary>
        /// 配置描述
        /// </summary>
        [SugarColumn(ColumnDescription = "配置描述", Length = 200, IsNullable = true)]
        public virtual string ConfigDes { get; set; }
    }
}
